<?php
/**
 * Created by PhpStorm.
 * User: user
 * Date: 2016/3/24
 * Time: 19:05
 */
use front\assets\AppAsset;
use yii\helpers\Url;

$base = AppAsset::register($this);
$baseUrl = $base->baseUrl;

$this->title = "系统消息";


?>

<body class="u-bg1">

<div class="m-msg2">

    <h4 class="note">系统消息</h4>

    <div class="list">
        <?php if (!empty($result)) {?>
            <?php foreach ($result as $date) {?>
                <h6><?= date('Y.m.d', $date[0]['updated_at'])?></h6>
                <?php foreach ($date as $system) {?>
                <dl>
                    <dt><img src="<?=AppAsset::register($this)->baseUrl?>/static/img/avatar.jpg"></dt>
                    <dd><?= $system['content']?></dd>
                </dl>
                <?php }?>
            <?php }?>
        <?php }?>
    </div>

</div>

<script>
    $(function(){

        console.log(0);
    });
</script>
</body>

































